package com.ruoyi.userdisease.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【专家病种关联】对象 user_disease
 *
 * @author ruoyi
 * @date 2025-07-04
 */
@ApiModel(description = "专家病种关联实体")
public class UserDisease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id", example = "用户id")
    @Excel(name = "用户id")
    private String userId;

    @ApiModelProperty(value = "病症id", example = "病症id")
    @Excel(name = "病症id")
    private Long diseaseId;

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    public void setDiseaseId(Long diseaseId)
    {
        this.diseaseId = diseaseId;
    }

    public Long getDiseaseId()
    {
        return diseaseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("diseaseId", getDiseaseId())
                .toString();
    }
}
